package com.crowntit.domain.activity.adapter.repository;

import com.crowntit.domain.activity.model.entity.IndexTeamQueryEntity;
import com.crowntit.domain.activity.model.entity.UserGroupBuyTeamDetailEntity;
import com.crowntit.domain.activity.model.entity.ScSkuEntity;
import com.crowntit.domain.activity.model.entity.SkuActivityEntity;
import com.crowntit.domain.activity.model.valobj.GroupBuyActivityDiscountVO;
import com.crowntit.domain.activity.model.valobj.SkuVO;

import java.util.List;

public interface IActivityRepository {

    GroupBuyActivityDiscountVO queryGroupBuyActivityDiscountVO(Long activityId, String source, String channel);

    SkuVO querySkuByScGoodsId(ScSkuEntity scSkuEntity);

    SkuActivityEntity querySkuConfig(ScSkuEntity scSkuEntity);

    List<UserGroupBuyTeamDetailEntity> queryIndexTeamList(IndexTeamQueryEntity queryEntity);

    UserGroupBuyTeamDetailEntity queryGroupBuyTeamDetailByUser(IndexTeamQueryEntity queryEntity);

    boolean isCrowdRange(String userId, String tagId);

    boolean isDegrade();

    boolean isCutRange(String userId);
}
